-
Notifications
You must be signed in to change notification settings - Fork 121
Store creation M2 - domain selection: basic UI integration #8065
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…t used in a `List`.
Generated by 🚫 dangerJS |
You can test the changes from this Pull Request by:
|
selanthiraiyan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works as described.
LGTM 🚢
|
|
||
| // MARK: - Presentation in different states for store creation M2 | ||
|
|
||
| func test_AuthenticatedWebViewController_is_presented_when_navigationController_is_presenting_another_view() throws { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: I think these test methods should NOT have AuthenticatedWebViewController in their name. 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Updated in 15e1319
| import Yosemite | ||
| @testable import WooCommerce | ||
|
|
||
| final class DomainSelectorViewModelTests: XCTestCase { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice tests. 🎉
…nted for store creation M2.
Part of #8045
Description
Domain selection is the first step that I'm implementing for store creation, because profiler questions might be skipped due to API availability (we'll likely have them ready by the end of November and we're okay with skipping profiler questions in M2). This PR includes barebone UI using the existing components like
SearchHeaderandList, with many design improvements needed as a later subtask to match the latest design since the PR is already big. The empty and loading state design is still TBD and will be implemented in a future subtask.Major changes include:
storeCreationM2and show the domain selector as the first step of store creation when the feature flag is enabled inStoreCreationCoordinatorDomainSelectorViewandDomainRowViewwith their own view modelDomainSelectorHostingControllerwas added as the UIKit wrapper forDomainSelectorViewDomainSelectorViewModel, it loads domain suggestions from the API and updates the observable domainsTesting instructions
Switch store+ Add a storeCreate a new storein the action sheet --> the store picker should be dismissed, then the domain selector should be shown with a very basic UIScreenshots
RELEASE-NOTES.txtif necessary.